import org.apache.spark.sql.SparkSession

/**
  * Created by hunter.coder 涛哥  
  * 2019/3/28 14:50
  * 交流qq:657270652
  * Version: 1.0
  * 更多学习资料：https://blog.csdn.net/coderblack/
  * Description:
  **/
object HelloSpark {

  def main(args: Array[String]): Unit = {
    val spark = SparkSession.builder().appName(HelloSpark.getClass.getSimpleName).master("local[*]").getOrCreate()

    val rdd = spark.sparkContext.makeRDD(Seq("a","b","c"))
    println(rdd.count())

  }

}
